// 菜单记录
export interface MenuRecord {
  id?: string;
  name?: string;
  permission?: string;
  path?: string;
  component?: string;
  icon?: string;
  type?: number;
  status?: number;
  sort?: number;
  parentId?: string;
  children?: Array<MenuRecord>;
}

// 分页查询的参数
export interface MenuParams extends Partial<MenuRecord> {
  page: number;
  limit: number;
  // Partial携带具体查询条件
}

// 列表值
export interface MenuListRes {
  list: MenuRecord[];
  total: number;
}
